<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="cs" lang="cs">

<head>
  <meta http-equiv="Content-Type" content="text/html; charset=<?php echo $config["Page"]["Charset"]; ?>" />
  <meta name="author" content="XHTML code: Martin Grossmann, aas.screamteam.cz" />  
  <meta name="keywords" content="" />
  <meta name="description" content="" />

  <script type="text/javascript" src="<?php echo WebRoot; ?>js/jquery-1.5.1.min.js"></script>
  <script type="text/javascript" src="<?php echo WebRoot; ?>js/jquery.simplemodal.js"></script>
  <script type="text/javascript" src="<?php echo WebRoot; ?>js/jquery-ui-1.8.11.custom.min.js"></script>
  <script type="text/javascript" src="<?php echo WebRoot; ?>js/jquery.tools.min.js"></script>
  <?php /*<script type="text/javascript" src="<?php echo WebRoot; ?>js/jquery.cookies.js"></script>  */?>
  <script type="text/javascript" src="<?php echo WebRoot; ?>js/uploadify/swfobject.js"></script>
  <script type="text/javascript" src="<?php echo WebRoot; ?>js/uploadify/jquery.uploadify.v2.1.4.min.js"></script>  
  <script type="text/javascript" src="<?php echo WebRoot; ?>js/fancybox/jquery.fancybox-1.3.4.js"></script>
  <script type="text/javascript" src="<?php echo WebRoot; ?>js/passwordStrengthMeter.js"></script>
  
  <script type="text/javascript" src="<?php echo WebRoot; ?>js/script.js"></script>   
  
  <script type="text/javascript">
    var WebRoot = '<?php echo globalFunc::getUrl(); ?>';
    
    var shortPass  = '<?php echo T_('Too short'); ?>';
    var badPass    = '<?php echo T_('Bad'); ?>';
    var goodPass   = '<?php echo T_('Good'); ?>';
    var strongPass = '<?php echo T_('Strong'); ?>';
    
    var textUploadify = '<?php echo T_('Uploading new photos'); ?>';
    var Completed = '<?php echo T_('Completed'); ?>';
    var LoginText = '<?php echo T_('Login'); ?>';
    
  </script>  
  

  <script type="text/javascript" src="<?php echo WebRoot; ?>themes/<?php echo $theme; ?>/script.js"></script>
  <link rel="stylesheet" type="text/css" media="screen" href="<?php echo WebRoot ?>themes/<?php echo $theme; ?>/style.css" />


  <title><?php echo $title; ?></title>
</head>

<body>
  <div id="container">
    <div id="top">
      <a href="<?php echo WebRoot;?>"></a>
      
      <?php if (!$LOGGED) { ?>
       <div id="login-container-unlogged">
       <form action="<?php echo WebRoot; ?>login.php" method="post">
        <fieldset>
          <legend><?php echo T_("Login");?></legend>
        
          <label for="login"><?php echo T_("E-Mail");?></label><br />           
          <input id="login" type="text" name="login[name]" /><br />
          
          <label for="password"><?php echo T_("Password");?></label><br />            
          <input type="password" id="password" name="login[password]" /><br />
          
          <label for="remember"><?php echo T_("Remember");?></label>
          <input type="checkbox" id="remember" name="login[remember]" />
          
          <br />
          
          
            <input type="submit" name="login[logOn]" value="<?php echo T_("Login");?>" /><br />
            <div>
              <a href="<?php echo WebRoot;?>register.php"><?php echo T_('register') ;?></a> &there4; 
              <a href="<?php echo WebRoot;?>forgottenPassword.php"><?php echo T_('forgotten password?') ;?></a>
            </div>
        </fieldset>  
        </form>
       
      
      <?php } else { ?>
         <div id="login-container-logged">
        <a href="<?php echo WebRoot;?>profile.php?id=<?php echo $user->idUser ?>">
          <img src="<?php echo WebRoot.$user->AvatarUNC; ?>" alt="<?php echo $user->UserName;?>" />
        </a>
        <div>
          <a href="<?php echo WebRoot;?>profile.php?id=<?php echo $user->idUser ?>">
            <?php echo $user->UserName; ?>
          </a>
        </div>
        

      <?php } ?>
      </div>
    </div>
    <div id="menu">
    <ul>
      <?php
        foreach ($menuInput as $link => $text) {
          printf('<li><a%s href="%s">%s</a></li>',($menuActive == $link) ? ' class="active"' : '', WebRoot.$link, $text);
        }         
      ?>
    </ul>
    </div>  
    
    <div id="search">
    <form action="<?php echo WebRoot; ?>search.php" method="get"> 
      <div id="search-content">
        <input class="text textField" type="text" name="q" placeholder="<?php echo T_('Search ...');?>" />
        <input class="button" type="submit" value="" />
        <!--<button type="submit" name="find[find]"><span><?php echo T_('Search');?></span></button>-->
      </div>
    </form>
    </div>
      
    <div class="clear"></div>
      
    <div id="body">      
    <div id="body-container">
      

      
        